package cn.opopopo.design_pattern_learn.创建型.factory_method;

class CatFactory extends AnimalFactory {
    public Animal createAnimal() {
        return new Cat();
    }
}